package com.example.administrator.yuejian_2.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.administrator.yuejian_2.R;
import com.makeramen.roundedimageview.RoundedImageView;

/**
 * Created by Administrator on 2017/10/24.
 */

public class MyPostVH extends RecyclerView.ViewHolder{
    public RoundedImageView upic;
    public TextView username;
    public ImageView postpic1;
    public ImageView postpic2;
    public ImageView postpic3;
    public TextView posttitle;
    public TextView posttime;
    public View itemView;

    public MyPostVH(View itemView) {
        super(itemView);

        this.itemView = itemView;
        upic = itemView.findViewById(R.id.mypost_pic);
        username = itemView.findViewById(R.id.mypost_uname);
        postpic1 = itemView.findViewById(R.id.mypost_pic1);
        postpic2 = itemView.findViewById(R.id.mypost_pic2);
        postpic3 = itemView.findViewById(R.id.mypost_pic3);
        posttitle = itemView.findViewById(R.id.mypost_title);
        posttime = itemView.findViewById(R.id.mypost_time);


    }
}
